
module.exports = {
    entry: {
        app:'./src/app.js'
    },

    output: {
        filename:'[name].js'
    },
    module: {
        rules: [
            {
                test: /\.tsx?$/,
                use: {
                    loader: 'ts-loader'
                },
                // 排除之外的
                exclude: '/node_modules/'
            }
        ]
    }
}